package com.atguigu.jxc.service;

import com.atguigu.jxc.entity.*;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

/**
 * ClassName: SaleListGoodsService
 * Description:
 * Date: 2022/1/17 21:11
 *
 * @version:
 * @since JDK 1.8
 */
public interface SaleListGoodsService {
    void saveSaleListGoods(SaleList saleList, String saleListGoodsStr, HttpSession session);

    List<SaleList> getSaleListGoods(String saleNumber, Integer customerId, Integer state, String sTime, String eTime);

    List<SaleListGoods> getGoodsList(Integer saleListId);

    void deleteSaleListGoods(Integer saleListId);

    void updateState(Integer saleListId);


    List<saleListGoodsCount> count(String sTime, String eTime, Integer goodsTypeId, String codeOrName);

    List<SaleDataByDay> getSaleDataByDay(String sTime, String eTime);

    List<SaleDataByDay> getSaleDataByMonth(String sTime, String eTime);


}
